]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Remove the top padding from folder app grid
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 17 Feb 2020 13:21:51 +0000 (14:21 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Sun, 8 Mar 2020 00:42:40 +0000 (00:42 +0000)
There already is a bottom padding defined for the name container of the
folder, so remove the top padding of the appGrid and make sure we can
show a few more icons inside the folder.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1011

js/ui/appDisplay.js

index f5e18d2ad22fe087a6a9703fda9a4078179a1ff8..17d69ced9c153bd3798330f94a1d921a1201e8c3 100644 (file)
@@ -1911,6 +1911,8 @@ var AppFolderDialog = GObject.registerClass({
             contentBox.get_width(),
             contentBox.get_height() - entryBoxHeight - spacing);
 
+        this._view._grid.topPadding = 0;
+
         super.vfunc_allocate(box, flags);
 
         // We can only start zooming after receiving an allocation